package com.lxy.file.dao;

import com.lxy.file.entity.FileAttribute;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartHttpServletRequest;

/**
 * @Author lxy
 * @Date 2021/12/28 18:50
 * @Description
 */

@Mapper
public interface FileOperationDao {
    int checkFileExistDB(@Param("hashcode") String hashcode);
    String getFileLocal(String hashcode);
    int setNewFile(@Param("hashcode") String hashcode, @Param("name") String name,
                   @Param("size") Integer size,@Param("local") String local);
}
